home *** CD-ROM | disk | FTP | other *** search
- /* mainController */
-
- #import <Cocoa/Cocoa.h>
- #import "CalEvent.h"
- #import "Calendar.h"
- #import "PreferencesController.h"
- #import <Pantomime/Pantomime.h>
-
- @interface mainController : NSObject
- {
- NSMutableArray *calendars;
- NSMutableArray *tableData;
-
- NSString *lastDateFormat;
-
- IBOutlet id mainWindow;
- IBOutlet id desiredDay;
- IBOutlet id tableView;
- IBOutlet NSScrollView * scrollView;
-
- IBOutlet id prefsWindow;
-
- IBOutlet id detailsSheet;
- IBOutlet id evStart;
- IBOutlet id evEnd;
- IBOutlet id evDescription;
- IBOutlet id regWindow;
- IBOutlet id regController;
-
- CWSMTP *_smtp;
- }
-
- - (NSColor *)getEventColor;
- - (NSColor *)getBGColor;
- - (NSColor *)getCalColor;
- - (NSFont *)getEventFont;
- - (NSFont *)getCalFont;
- - (NSString *)getEmailAddress;
- - (NSString *)getLastEmailSend;
-
- - (NSString *)getEmailSMTPPassword;
- - (NSString *)getEmailSMTPUsername;
- - (NSString *)getEmailFrom;
- - (NSString *)getEmailSMTPServer;
-
- - (void)updateCalendars;
- - (void)checkEmail;
- - (void)resizeWindow;
- - (double)findMaxWidth;
- - (double)findMaxHeight;
- - (float) findWidthForColumn: (int) column row: (int) row withValue: (id) value;
- - (int)rowIsCal:(int)whichRow;
- - (void)buildTable;
- - (void)doDoubleClick;
- - (int)numberOfRowsInTableView:(NSTableView *)aTableView;
- - (id)tableView:(NSTableView *)aTableView objectValueForTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex;
-
- - (NSString *)buildEmailString;
- - (IBAction)closeDetails:(id)sender;
-
- - (IBAction)openiCal:(id)sender;
- - (IBAction)changeDate:(id)sender;
-
- - (IBAction)getRegCode:(id)sender;
-
- - (IBAction)goToAbout:(id)sender;
- - (IBAction)enterRegCode:(id)sender;
-
- @end
-